﻿#include "stdafx.h"
#include "msgbox.h"
#include "main_data_c.h"

void MsgNoFile_exit(const char* filepath, const char* owner)
{
	char msgBuf[256];
	if (owner) {
		sprintf(msgBuf, "%s 的 %s 文件不存在。", owner, filepath);
	}
	else {
		sprintf(msgBuf, "%s 文件不存在。", filepath);
	}
	MessageBox(mainData.hWnd1_54CA690, msgBuf, g_wndClassName, 0);
	SendMessage(mainData.hWnd1_54CA690, WM_DESTROY, 0, NULL);
}
